//
//  MsgStoreListTableViewCell.m
//  CheckInforDemo
//
//  Created by bob on 2017/9/27.
//  Copyright © 2017年 bob. All rights reserved.
//

#import "MsgStoreListTableViewCell.h"

@implementation MsgStoreListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setSdata:(ShopAndOpenData *)Sdata
{
    _Sdata=Sdata;
    
    self.StoreNamelabel.text=Sdata.shopName;
    
    if (Sdata.Seleclt) {
        
        self.SelectImage.image=[UIImage imageNamed:@"Select"];
        
    }else{
        
        
        self.SelectImage.image=[UIImage imageNamed:@"UnSelect"];
    }
    
}


-(void)setOdata:(ShopAndOpenData *)Odata
{
    _Odata=Odata;
    
     self.StoreNamelabel.text=Odata.Name;
    if (Odata.Seleclt) {
        
        self.SelectImage.image=[UIImage imageNamed:@"Select"];
        
    }else{
        
        
        self.SelectImage.image=[UIImage imageNamed:@"UnSelect"];
    }
    
}

-(void)setCdata:(CheckManData *)Cdata
{
    _Cdata=Cdata;
    
    self.StoreNamelabel.text=Cdata.staffName;
    if (Cdata.Select) {
        
        self.SelectImage.image=[UIImage imageNamed:@"Select"];
        
    }else{
        
        
        self.SelectImage.image=[UIImage imageNamed:@"UnSelect"];
    }
    
    
}


-(void)setMdata:(CheckManData *)Mdata
{
    _Mdata=Mdata;
    
    self.StoreNamelabel.text=Mdata.staffName;
    if (Mdata.Select) {
        
        self.SelectImage.image=[UIImage imageNamed:@"Select"];
        
    }else{
        
        
        self.SelectImage.image=[UIImage imageNamed:@"UnSelect"];
    }
    
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
